home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_351 / pdc / libsrc.lzh / LibSrc / Startup / Makefile < prev    next >
Makefile  |  1990-04-07  |  2KB  |  74 lines

  1.  
  2. #  Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
  3. #  PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  4. #  PDC I/O Library (C) 1987 by J.A. Lydiatt.
  5. #  This code is freely redistributable upon the conditions that this 
  6. #  notice remains intact and that modified versions of this file not
  7. #  be included as part of the PDC Software Distribution without the
  8. #  express consent of the copyright holders.  No warrantee of any
  9. #  kind is provided with this code.  For further information, contact:
  10. #   PDC Software Distribution    Internet:                     BIX:
  11. #   P.O. Box 4006             or hummel@cs.uiuc.edu            lhummel
  12. #   Urbana, IL  61801-8801       petersen@uicsrd.csrd.uiuc.edu
  13.  
  14. #  Makefile to generate library code relating to PDC's runtime environment
  15.  
  16. #    In order to recompile some of these library files, you need the
  17. #    standard Amiga header files that can be purchased directly from
  18. #    Commodore as part of the Native Developer Update.  If you own one of
  19. #    the commercial C compilers, their headers will a suffice.  In
  20. #    order to build these library functions, be sure that PDC knows where
  21. #    to find your Amiga header files.  (Here, I use NDU:include.h for my C
  22. #    headers and acrt0 expects a directory assign'd the logical name I: in 
  23. #    order to assemble).  For the assembly flags used for acrt0.asm, 
  24. #    assign i: to the directory containing your Amiga headers.  (If you
  25. #    don't have 'em, you should read the documentation re: standard headers
  26. #    and libraries.)
  27. #
  28. CFLAGS    = +INDU:include.h
  29. #CFLAGS    = +INDU:include.h -Wa-d
  30. AFLAGS  = -Wa -INDU:include.i
  31. #AFLAGS  = -Wa "-d -Ii:"
  32.  
  33. LIBRARIAN = libr
  34. INSERT    = -r
  35. SORT    = -x
  36. LIBDIR    = pdc:lib
  37. LIB    = PDC.lib
  38.  
  39. CC    = ccx
  40. AS    = a68k
  41. CP    = copy
  42. TOUCH    = touch
  43. LIBRARIAN = libr
  44. SORT    = -x
  45.  
  46. SRCS = TWspec.c 
  47. OBJS = TWspec.o
  48.  
  49. STARTUPSRC = acrt0.asm
  50. STARTUPOBJ = acrt0.o
  51.  
  52. #    Integral part of acrt0.asm at present
  53. SRCOLD = cli_parse.c wb_parse.c
  54. OBJOLD = cli_parse.o wb_parse.o
  55.  
  56. .SUFFIXES:    .c .s .asm .o
  57.  
  58. .asm.o:
  59.     $(CC) $(AFLAGS) -o $*.o -c $*.asm
  60.  
  61. .c.o:
  62.     $(CC) $(CFLAGS) -o $*.o -c $*.c
  63.  
  64. all:    $(OBJS) collect
  65.  
  66. collect: $(OBJS) $(STARTUPOBJ)
  67.     $(LIBRARIAN) $(INSERT) $(SORT) $(LIBDIR)/$(LIB) $(OBJS)
  68.     $(CP) $(STARTUPOBJ) $(LIBDIR)
  69.  
  70. clean:
  71.     delete \#?.o
  72.